from flask import Flask, render_template

app = Flask(__name__)


@app.route('/')
def index():
    return render_template('index.html')


from user import user_bp

# 绑定 蓝图与APP
app.register_blueprint(user_bp, url_prefix='/user')

if __name__ == '__main__':
    app.run()
